data = ADDEVENT_DATA(data,ch,ename,type) called by bmech_addevent to add data to event branches. ARGUMENTS data ... Zoo data ch ... Channels to add event to (cell arrray of strings). ename ... The name of the new event branch in zoo file as string type ... See line 47 ('max' 'min' 'toe off' heel strike'...) string constant ... a constant value to be used by a specific case. RETURNS data ... Zoo data with new event data appended NOTES - Users are encouraged to modify event functions for specific needs - Not all events have been tested See also bmech_addevent, bmech_removeevent, bmech_renameevent